package com.mycjj.android.bean;

import java.io.Serializable;

public class TreeElement implements Serializable{
	
	/**
	 * serialVersionUID：
	 */
	private static final long serialVersionUID = 1L;
	String id = null;// 当前节点id
	String title = null;// 当前节点文字
	boolean hasParent = false;// 当前节点是否有父节点
	public boolean hasChild = false;// 当前节点是否有子节点
	boolean childShow = false;// 如果子节点，字节当当前是否已显示
	String parentId = null;// 父节点id
	int level = -1;// 当前界面层级
	String brandId = null;//品牌
	public boolean fold = false;// 是否处于展开状态
	private String brandId1;//车系
	private String brandId2;//车型
	private String brandId3;//车款Id
	private String buyCarDate;//购车日期
	public boolean isChildShow() {
		return childShow;
	}

	public void setChildShow(boolean childShow) {
		this.childShow = childShow;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public boolean isHasParent() {
		return hasParent;
	}

	public void setHasParent(boolean hasParent) {
		this.hasParent = hasParent;
	}

	public boolean isHasChild() {
		return hasChild;
	}

	public void setHasChild(boolean hasChild) {
		this.hasChild = hasChild;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public boolean isFold() {
		return fold;
	}

	public void setFold(boolean fold) {
		this.fold = fold;
	}
	
	

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}
	

	public String getBrandId1() {
		return brandId1;
	}

	public void setBrandId1(String brandId1) {
		this.brandId1 = brandId1;
	}

	public String getBrandId2() {
		return brandId2;
	}

	public void setBrandId2(String brandId2) {
		this.brandId2 = brandId2;
	}
	
	public String getBrandId3() {
		return brandId3;
	}

	public void setBrandId3(String brandId3) {
		this.brandId3 = brandId3;
	}
	
	

	/**
	 * @return the buyCarDate
	 */
	public String getBuyCarDate() {
		return buyCarDate;
	}

	/**
	 * @param buyCarDate the buyCarDate to set
	 */
	public void setBuyCarDate(String buyCarDate) {
		this.buyCarDate = buyCarDate;
	}

	@Override
	public String toString() {
		return "id:" + this.id + ";level:" + this.level + ";title:" + this.title + ";fold:" + this.fold + ";hasChidl:" + this.hasChild + ";hasParent:" + this.hasParent + ";parentId:" + this.parentId;
	}
}